package com.gitee.farmer.im.mysql;

import com.querydsl.jpa.support.QMySQL5InnoDBDialect;
import org.hibernate.dialect.MySQL55Dialect;

/**
 * @author tech-farmer
 * @ClassName: MySQL5InnoDBDialectUtf8mb4
 * @Description: (这里用一句话描述这个类的作用)
 * @date 2022/2/24 16:41
 */
public class MySQL5InnoDBDialectUtf8mb4 extends MySQL55Dialect {

    @Override
    public String getTableTypeString() {
        return "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_unicode_ci";
    }
}
